
App({
  //当小程序初始化完成时，会触发 onLaunch（全局只触发一次）
  onLaunch: function () {
    //wx.setStorageSync("registerFlag", 0);
  },
  
  globalData: {
    httpsUrl: "https://iotng.chepaidang.cc/sharecar-xcx",
    imgUrl: "https://iotng.chepaidang.cc/nas/img-sharecar/image/common",//小程序图片
    // httpsUrl: "http://127.0.0.1:8080/sharecar-xcx",
    //imgUrl: "../../../image/common",
    //imgUrl: "http://127.0.0.1:8080/sharecarimg/common",
    AppID:"",
    AppSecret:"",
    JSESSIONID: "JSESSIONID",
    contentType: "application/x-www-form-urlencoded",
    registerFlag:"registerFlag",
    openidKey:"openidKey",
    aidKey:"aidKey",//车辆id
    qzKey:"qzKey",//圈子信息
    articleIdKey:"articleIdKey",
    peccancySelectResultKey:"peccancySelectResultKey",
    carNoKey:"carNoKey",//车牌号
    
  },

  getJSESSIONID:function(){
    var JSESSIONID = wx.getStorageSync(this.globalData.JSESSIONID)
    return JSESSIONID;
  },

  //getApp().goLogin();
  goLogin:function(){
    wx.navigateTo({
      url: '../../login/login/login',
    })
  },

})